import request from "../utils/request";

// 用户登录
export function login(data) {
  return request({
    url: "/api/system/noRight/login",
    method: "post",
    data,
  });
}

// 获取用户信息
export function getUserInfo() {
  return request({
    url: "/api/system/ae/employee",
    method: "get",
  });
}

// 用户登出
export function logout() {
  return request({
    url: "/api/system/noRight/logout",
    method: "post",
  });
}
